<div class="row fix-row mt10">
	<!-- Begin Sidebar top -->
	<div class="col-md-3 left">
		<div class="panel panel-primary fix-menu">
			<div class="panel-heading"> <h3 class="panel-title"><a href="javascript:;">Danh mục sản phẩm</a></h3> </div>
			<div class="panel-body">
				<ul class="menu">
					<?php foreach($categories as $cate): ?>
					<li>
						<a href="<?= $this->webroot . $cate['Category']['als'] . '-c' . $cate['Category']['id'] . $ext ?>">
							<?= $cate['Category']['name'] ?>
							<?php if(!empty( $cate['Category']['childs'] )):?>
							<span class="fa fa-angle-right fa-2 fr"></span>
							<?php endif; ?>
						</a>

						<?php if(!empty( $cate['Category']['childs'] )):?>
						<ul>
							<?php foreach($cate['Category']['childs'] as $child): ?>
							<li>
								<a href="<?= $this->webroot . $child['Category']['als'] . '-c' . $child['Category']['id'] . $ext?>"> <?= $child['Category']['name'] ?></a>
							</li>
							<?php endforeach; ?>
						</ul>
						<?php endif; ?>
					</li>
					<?php endforeach; ?>
				</ul>
			</div>
		</div>
	</div>
	<!-- End Sidebar top -->

	<!-- Begin breadcrumb -->
	<div class="col-md-9 right">
		<ul class="page-breadcrumb breadcrumb">
			<li>
				<i class="fa fa-home"></i>
				<a href="<?= $this->webroot; ?>"><?= __('Trang chủ'); ?></a>
				<i class="fa fa-angle-right"></i>
			</li>
			<?php if(!empty($category_p)):?>
			<li>
				<a href="<?= $this->webroot . $category_p['Category']['als'] . '-c' . $category_p['Category']['id'] . $ext ?>"><?= $category_p['Category']['name'] ?></a>
				<i class="fa fa-angle-right"></i>
			</li>
			<?php endif; ?>

			<li>
				<a href="<?= $this->webroot . $category['Category']['als'] . '-c' . $category['Category']['id'] . $ext ?>"><?= $category['Category']['name'] ?></a>
				<i class="fa fa-angle-right"></i>
			</li>

			<li> <?= $product[$als]['name'] ?></li>
		</ul>
	</div>
	<!-- End breadcrumb -->

</div>
<div class="clearfix"></div>